package com.wbdgj.ui.login;

import android.content.Context;
import android.view.View;

import com.wbdgj.R;
import com.wbdgj.base.BaseFragment;
import com.wbdgj.ui.home.ExampleActivity;
import com.wbdgj.ui.home.ExampleListActivity;

import butterknife.OnClick;

/**
 * Created by Administrator on 2018/5/2.
 */

public class ZhuFragment extends BaseFragment{

    private Context context;

    @Override
    protected int getLayout() {
        return R.layout.ui_zhu_peng;
    }

    @Override
    protected void onInit() {
        context = getActivity();
    }

    @OnClick({R.id.example01,R.id.example02})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.example01:
                launch(ExampleActivity.class);
                break;
            case R.id.example02:
                launch(ExampleListActivity.class);
                break;

        }
    }

    @Override
    public void fetchData() {

    }
}
